<include file="Public/header" />
<div data-role="page" >
    <div data-role="header" data-position="fixed"data-tap-toggle="false" data-theme="f">
      <h1>用户登录</h1>
    </div>
    <div data-role="main" class="content">
        
        <form action="__CONTROLLER__/userLogin/" method="post" data-ajax="false"accept-charset="utf-8" class="form">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="form-group">
                        <label for="username" title="必填项"><i class="fa fa-dot-circle-o"></i> 用户名</label>
                        <input type="text" name="username" id="username" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="userpassword" title="必填项"><i class="fa fa-dot-circle-o"></i> 密码</label>
                        <input type="password" name="userpassword" id="userpassword" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="loginverify" title="必填项"><i class="fa fa-dot-circle-o"></i> 验证码</label><br>
                        <input id="loginverify" type="text" name="loginverify" class="form-control input-verify">
                        <img src="__URL__/verify" alt="验证码显示" onclick="this.src='__URL__/verify/rand='+Math.random()">
                    </div>
                    <div class="form-group">
                        <label for="userremember">
                           <input id="userremember" type="checkbox" name="userremember" value="1" >   记住我</label>
                    </div>    
                </div>
                <div class="panel-footer">
                    <div class="form-group">
                        <button type="submit" id="userloginbutton" class="btn btn-primary">登录</button>
                        
                    </div>
                </div>
            </div>
        </form>
        <div class="col-md-3 login-error">
            <if condition="$loginErrorFlag eq 1">
                 <div class="alert alert-danger .alert-dismissible">
                 <a href="" class="pull-right"><i data-dismiss="alert" aria-label="Close" aria-hidden="true" class="fa fa-close "></i></a>
                 <i class="fa fa-exclamation-circle"></i> &nbsp;&nbsp; <strong><{$loginErrorInfo}></strong>
                 </div>
            </if>
        </div>
     </div>
<include file="Public/footer"/>